//
//  BQNavigationController.m
//  BeeQuick
//
//  Created by mac on 16/11/19.
//  Copyright © 2016年 six_group. All rights reserved.
//

#import "BQNavigationController.h"

@interface BQNavigationController ()

@end

@implementation BQNavigationController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    
//    self.navigationBar.shadowImage = [[UIImage alloc]init];
//    
//    [self.navigationBar setBackgroundImage:[[UIImage alloc]init] forBarMetrics:UIBarMetricsDefault];

    
    [self.navigationBar setBarTintColor:[UIColor cz_colorWithHex:0xffd600]];
    
    

}
//
- (void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated
{
    //MARK: - 当自控制器的数量大于0时候 , 跳转的时候隐藏下面的tabBar.
    if(self.childViewControllers.count > 0)
    {
        viewController.hidesBottomBarWhenPushed = YES;
    }
    
    
    [super pushViewController:viewController animated:animated];
}


@end
